package com.zy.dp.state.example3;

public class NormalVoteState implements VoteState
{

	@Override
	public void vote(String user, String voteItem, VoteManager voteManager)
	{
		voteManager.getMapVote().put(user, voteItem);
		System.out.println("恭喜你投票成功");

		voteManager.getMapState().put(user, new RepeatVoteState());

	}

}
